package com.efast.dmom.mgmt.controller.mes;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.bind.annotation.ResponseBody;

import com.efast.cafe.framework.bean.ResultBean;
import com.efast.dmom.mgmt.entity.mes.PmFeaturValue;
import com.efast.dmom.mgmt.service.mes.PmFeaturValueService;

@Controller
@RequestMapping("/featureType")
public class PmFeaturValueController {
@Autowired
private PmFeaturValueService pmFeaturValueService;
@RequestMapping(value="/deleteFeaturType", method=RequestMethod.POST)
public @ResponseBody ResultBean deleteFeaturType(@RequestBody PmFeaturValue enti)  {
System.out.println(121212);
	ResultBean result = new ResultBean(true,"'");
		pmFeaturValueService.deletePmFeaturTypeById(enti.getFeaturTypeId());
		result.setSuccess(true);
		result.setMessage("删除成功！");
	return result;
}


}
